package com.patterns.demo.bridge;

/**
 * Author: SamGroves
 * <p>
 * Description:
 * <p>
 * Date: 2017/12/3
 */
public class Test {

    public static void main(String[] args) {

        Engine engineA122 = new EngineA122();
        Car bus = new Bus(engineA122);
        bus.installEngine();

        Engine engineB018 = new EngineB018();
        Car jeep = new Jeep(engineB018);
        jeep.installEngine();
    }
}
